.TH std::chrono::duration_values::max 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::chrono::duration_values::max \- std::chrono::duration_values::max

.SH Synopsis
   static constexpr Rep max();           \fI(since C++11)\fP
                                         \fI(until C++20)\fP
   static constexpr Rep max() noexcept;  \fI(since C++20)\fP

   Returns the largest possible representation.

.SH Parameters

   \fI(none)\fP

.SH Return value

   std::numeric_limits<Rep>::max()

.SH See also

   max      returns the special duration value max
   \fB[static]\fP \fI(public static member function of std::chrono::duration<Rep,Period>)\fP
   zero     returns a zero-length representation
   \fB[static]\fP \fI(public static member function)\fP
   min      returns the smallest possible representation
   \fB[static]\fP \fI(public static member function)\fP
